import http from "@/utils/request"

//登入
// export let loginApi=(param:loginParam):Promise<any> => http.post('/users/login',{
//     username:param.username,
//     password:param.password
// })
export let loginApi=(username:string,password:string):Promise<any> => http.post('/users/login',{
    username,
    password
})